body {
    background: pink;
    p {
      color: red;
      border: 1px solid orange;
    }
    .div-class{
      width:100px;
      height:150px;
      position:relative;
      animation: mymove 5s infinite;
      background: url('../images/img.jpg') no-repeat;
      background-size: cover;
    }
    @keyframes mymove
    {
      from {left:0px;}
      to {left:200px;}
    } 
    
}